function x = testFunc(number)
% This function tests the genDist and distToCoord functions

coord = genCoord(number, -10, 10);
dist = genDist(coord);
x = distToCoord(dist);

subplot(1,2,1);
scatter3(coord(:,1), coord(:,2), zeros(number, 1), 'o', 'filled');
axis square
title('Original')

subplot(1,2,2);
scatter3(x(:,1), x(:,2), zeros(number, 1), 'o', 'filled');
axis square
title('Result')

shg

end

